﻿using Library.Common.Model;
using Library.Core.Domain.Repository;
using Synthesize.BaseSet.ServiceInterface.Dtos.Authority.Post;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Synthesize.BaseSet.ServiceInterface.Query.Authority
{
    /// <summary>
    /// 岗位查询接口
    /// </summary>
    public interface IPostQueryService
    {
        /// <summary>
        /// 根据岗位名称获取信息
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<BaseApiResult<PageData<GetPostListOutput>>> GetPostPageList(GetPostListInput input);

        /// <summary>
        /// 获取所有岗位列表
        /// </summary>
        /// <returns></returns>
        Task<BaseApiResult<List<GetPostListOutput>>> GetAllList();
    }
}
